package com.hns.can.common.constants;

/**
 * 系统全局缓存
 * 
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
public final class GlobalConst {
    
    // ----------------------字典 缓存 start----------------------
    /**
     * 系统参数缓存名称
     */
    public final static String CACHE_KEY_SYS_CODE                  = "SYS_CODE";
    
    /**
     * 角色缓存名称
     */
    public static final String CACHE_KEY_SYS_ROLE                  = "SYS_ROLE";
    
    /**
     * 用户缓存名称
     */
    public static final String CACHE_KEY_SYS_ACCOUNT               = "SYS_ACCOUNT";
    
    /**
     * 机构缓存
     */
    public static final String CACHE_KEY_BASE_ORGAN                = "BASE_ORGAN";
    
    /**
     * 车辆信息
     */
    public static final String CACHE_KEY_BASE_CAR_INFO             = "BASE_CAR_INFO";
    public static final String CACHE_KEY_BASE_LINE_INFO            = "BASE_LINE_INFO";
    public static final String CACHE_KEY_BASE_DRV_INFO             = "BASE_DRV_INFO";
    public static final String CACHE_KEY_BASE_EQMT_INFO            = "BASE_EQMT_INFO";
    public static final String CACHE_KEY_BASE_STN_INFO             = "BASE_STN_INFO";
    public static final String CACHE_KEY_UPG_EQMT_VRSN_MANAGE_INFO = "UPG_EQMT_VRSN_MANAGE_INFO";
    
    /**
     * 公司缓存
     */
    public static final String CACHE_KEY_SYS_CORP                  = "SYS_CORP";
    // ----------------------字典 缓存 start----------------------
    
    public static final String SESSION_USER_INFO                   = "SESSION_USER_INFO";
    
    /**
     * 缓存默认的转化值
     */
    public static final String DEFAULT_CACHE_VALUE                 = "value";
    
    // ----------------------------------------------------报警设置缓存
    
    /**
     * 报警时间
     */
    public static final String CACHE_ALARM_TIME_SETTING = "alarmTimeSetting";
    
    /**
     * 故障报警
     */
    public static final String CACHE_ALARM_FAULT_SETTING = "alarmFaultSetting";
    
    /**
     * 不安全行为报警
     */
    public static final String CACHE_ALARM_UNSAFE_SETTING = "alarmUnsafeSetting";
    
    /**
     * 超速报警
     */
    public static final String CACHE_ALARM_SPEED_SETTING = "alarmSpeedSetting";
}
